package com.hd.autoswagger.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/*用于绑定yml配置文件中的信息
 * */
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {
    private String title; //项目标题
    private String version; //项目版本
    private String description; //项目描述
    private String contactsName; //联系人名字
    private String contactsUrl; //联系人网址
    private String contactsEmail; //联系人邮箱
    private String basePackageUrl; //扫描包路径

    public SwaggerProperties() {
    }

    public SwaggerProperties(String title, String version, String description, String contactsName, String contactsUrl, String contactsEmail, String basePackageUrl) {
        this.title = title;
        this.version = version;
        this.description = description;
        this.contactsName = contactsName;
        this.contactsUrl = contactsUrl;
        this.contactsEmail = contactsEmail;
        this.basePackageUrl = basePackageUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getContactsUrl() {
        return contactsUrl;
    }

    public void setContactsUrl(String contactsUrl) {
        this.contactsUrl = contactsUrl;
    }

    public String getContactsEmail() {
        return contactsEmail;
    }

    public void setContactsEmail(String contactsEmail) {
        this.contactsEmail = contactsEmail;
    }

    public String getBasePackageUrl() {
        return basePackageUrl;
    }

    public void setBasePackageUrl(String basePackageUrl) {
        this.basePackageUrl = basePackageUrl;
    }
}
